﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.QcManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.QcManagement.QcTemplateVMs
{
    public partial class QcTemplateBatchVM : BaseBatchVM<QcTemplate, QcTemplate_BatchEdit>
    {
        public QcTemplateBatchVM()
        {
            ListVM = new QcTemplateListVM();
            LinkedVM = new QcTemplate_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class QcTemplate_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._QcTemplate._Name")]
        public string Name { get; set; }
        [Display(Name = "_Model._QcTemplate._Code")]
        public string Code { get; set; }
        [Display(Name = "_Model._QcTemplate._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._QcTemplate._ProductionName")]
        public string ProductionName { get; set; }
        [Display(Name = "_Model._QcTemplate._QcMode")]
        public QcModeEnum? QcMode { get; set; }
        [Display(Name = "_Model._QcTemplate._Aux_1")]
        public string Aux_1 { get; set; }
        [Display(Name = "_Model._QcTemplate._Aux_2")]
        public string Aux_2 { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}